$OpenBSD: patch-dcmimgle_include_dcmtk_dcmimgle_dimoipxt_h,v 1.1 2017/05/06 16:59:31 espie Exp $
two phase name lookup

Index: dcmimgle/include/dcmtk/dcmimgle/dimoipxt.h
--- dcmimgle/include/dcmtk/dcmimgle/dimoipxt.h.orig
+++ dcmimgle/include/dcmtk/dcmimgle/dimoipxt.h
@@ -79,10 +79,10 @@ class DiMonoInputPixelTemplate
             else if ((this->Modality != NULL) && this->Modality->hasRescaling())
             {
                 rescale(pixel, this->Modality->getRescaleSlope(), this->Modality->getRescaleIntercept());
-                determineMinMax(OFstatic_cast(T3, this->Modality->getMinValue()), OFstatic_cast(T3, this->Modality->getMaxValue()));
+                this->determineMinMax(OFstatic_cast(T3, this->Modality->getMinValue()), OFstatic_cast(T3, this->Modality->getMaxValue()));
             } else {
                 rescale(pixel);                     // "copy" or reference pixel data
-                determineMinMax(OFstatic_cast(T3, this->Modality->getMinValue()), OFstatic_cast(T3, this->Modality->getMaxValue()));
+                this->determineMinMax(OFstatic_cast(T3, this->Modality->getMinValue()), OFstatic_cast(T3, this->Modality->getMaxValue()));
             }
         }
     }
